package com.coffee.service.impl;

import com.coffee.dao.CoffeeFlavorDAO;
import com.coffee.entity.CoffeeFlavor;
import com.coffee.service.CoffeeFlavorService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CoffeeFlavorServiceImpl implements CoffeeFlavorService {

    @Autowired
    private CoffeeFlavorDAO coffeeFlavorDAO;

    @Override
    public List<CoffeeFlavor> list(String id) {
        return coffeeFlavorDAO.list(id);
    }
}
